<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>大数据可视化</title>
    <link rel="stylesheet" href="css/index.css">

</head>
<!--头部的盒子-->
<header>
    <h1>大数据可视化——职位分析项目</h1>
    <div class="showTime"></div>
    <script>
        function updateTime() {
            const dt = new Date();
            const y = dt.getFullYear();
            const mt = String(dt.getMonth() + 1).padStart(2, '0');
            const day = String(dt.getDate()).padStart(2, '0');
            const h = String(dt.getHours()).padStart(2, '0');
            const m = String(dt.getMinutes()).padStart(2, '0');
            const s = String(dt.getSeconds()).padStart(2, '0');
            document.querySelector('.showTime').innerHTML = `当前时间：${y}年${mt}月${day}日 ${h}时${m}分${s}秒`;
        }
        // 初始调用
        updateTime();
        // 每秒更新一次
        setInterval(updateTime, 1000);
    </script>
</header>
<selection class="mainbox">
    <div class="column">
        <div class="panel bar">
            <h2>不同行业职位需求数量</h2>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
        <div class="panel line">
            <h2>国内外需求分析
                <a href="javascript:;">2022</a>
                <a href="javascript:;">2023</a>
            </h2>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
        <div class="panel pie">
            <h2>薪资分布</h2>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
    </div>
    <div class="column">
        <div class="no">
            <div class="no-hd">
                <ul>
                    <li>1693798</li>
                    <li>1329646</li>
                </ul>
            </div>
            <div class="no-bd">
                <ul>
                    <li>总职位需求人数</li>
                    <li>当前有效需求人数</li>
                </ul>
            </div>
        </div>
        <div class="map">
            <div class="map1"></div>
            <div class="map2"></div>
            <div class="map3"></div>
            <div class="echart">地图模块</div>
        </div>
    </div>
    <div class="column">
        <div class="panel bar2">
            <h2>热门岗位</h2>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
        <div class="panel line2">
            <h2>岗位需求数量（月）</h2>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
        <div class="panel pie2">
            <h2>饼图-就业行业</h2>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>

    </div>
</selection>
<body>
    <script src="js/flexible.js"></script>
    <script src="js/echarts.min.js"></script>
    <script src="js/jquery.js"></script>
    <script src="js/china.js"></script>
    <script src="js/index.js"></script>
</body>
</html>
